import request from '@/utils/request';
//获取验证码
export default {
    //获取验证码
    getCode:(phone) => request.post('/user/checkCode',{phone}),
    //登录
    login:(phone,checkcode) => request.post('/user/login',{phone,checkcode}),
    //获取个人信息
    getUserInfo:() => request.get('/user/getUserInfo')
}